﻿using System.Runtime.Serialization;

namespace KilnApi.Helpers {
    /// <summary>
    /// A wrapper for reviews assigned to you and opened by you.
    /// </summary>
    [DataContract]
    public class ReviewsWrapper {
        /// <summary>
        /// A list of reviews assigned to you without changesets.
        /// </summary>
        [DataMember(Name = "reviewsAssignedToMe")]
        public Review[] AssignedToMe { get; private set; }

        /// <summary>
        /// A list of reviews opened by you without changesets.
        /// </summary>
        [DataMember(Name = "reviewsOpenedByMe")]
        public Review[] OpenedByMe { get; private set; }
    }
}
